body {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    min-width: 1200px;
    background-color: #f6f6f6;
}

/* 头部 */
#header {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    /* background-color: yellow; */
}

/* logo */
#header .h_logo {
    width: 75px;
    height: 75px;
    margin-right: 27px;
}

#header .h_title h3 {
    font-size: 28px;
    font-weight: 600;
    color: #43200c;
}

#header .h_title span {
    font-size: 12px;
    color: #b0608a;
    transform: scale(.8);
}

#header .h_title {
    margin-right: 120px;
}

/* 头部搜索框 */
#header .h_search {
    width: 530px;
    height: 48px;
    border: 1px solid black;
    border-radius: 24px;
    margin-right: 50px;
    display: flex;
    align-items: center;
}

#header .h_search img {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    margin-right: 12px;
    vertical-align: middle;
}

#header .h_search input {
    width: 355px;
    height: 45px;
    font-size: 16px;
    color: #757575;
    margin-right: 45px;
    line-height: 45px;
    outline: none;
    border: none;
}

#header .h_search button {
    width: 84px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    text-align: center;
    background-color: #fee44e;
}

/* 注销 */
#header .logout {
    width: 50px;
    height: 30px;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
    line-height: 30px;
    border-radius: 3px;
    outline: none;
    border: none;
    margin-bottom: 10px;
    box-shadow: 2px 4px 6px gray;
    background-color: yellowgreen;
}

/* 包邮与退换 */
#header .info {
    width: 250px;
    display: flex;
}

#header .info a {
    width: 50px;
    font-size: 12px;
    color: #877a73;
    margin-right: 29px;
    text-align: center;
}

#header .info a img {
    width: 38px;
    height: 38px;
    margin-bottom: 7px;
}

/* 导航 */
#nav {
    height: 45px;
    background-color: #43240c;
}

/* 下拉菜单 */
#nav .top {
    display: flex;
    /* justify-content: center; */
    text-align: center;
    margin-left: 180px;
}

#nav .top>li>a {
    font-size: 15px;
    color: #fff;
}

#nav .top>li {
    width: 220px;
    height: 45px;
    line-height: 45px;
    position: relative;
}

#nav .top>li:hover {
    background-color: #fee44e;
}

#nav .top>li:hover .top_in {
    display: block;
    position: absolute;
    opacity: 0.6;
    animation: frames 0.8s;
    overflow: hidden;
}

#nav .top .top_in {
    width: 220px;
    height: 420px;
    background-color: #fcf9e3;
    text-align: center;
    display: none;
}

#nav .top .top_in a {
    font-size: 13px;
    color: #43200c;
}

#nav .top .top_in a:hover {
    color: red;
}

/* 下拉动画 */
@keyframes frames {
    from {
        height: 0px;
    }

    to {
        height: 420px;
    }
}

/* 主体 */
/* #main {
    display: flex;
    flex-direction: column;
    justify-content: center;
} */

#main .container {
    width: 1200px;
    height: 1288px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    margin: auto;
    /* background-color: yellowgreen; */
}

#main .container .maininfo {
    width: 220px;
    height: 100px;
    background-color: peru;
    margin-left: -99px;
    margin-top: 80px;
}

#main .container .maininfo img {
    width: 220px;
    height: 240px;
}

/* 轮播 */
#main .container .box {
    display: flex;
    margin-top: 10px;
}

#main .container .banner {
    width: 660px;
    height: 235px;
}

#main .container .swiper {
    width: 600px;
    height: 280px;
    margin-left: 20px;
    margin-right: 20px;
}

#main .container .swiper-slide img {
    width: 600px;
    height: 280px;
}


/* 9.9包邮 */
#main .container .ban_right {
    width: 200px;
    height: 235px;
}

#main .container .ban_right img {
    width: 318px;
    height: 280px;
}

/* 夏季女装上新，大额卷抢购 */
#main .container .views {
    display: flex;
    margin-top: 7px;
    margin-left: 275px;
}

#main .container .views>div {
    width: 300px;
    height: 125px;
    margin-right: 10px;
    border-radius: 50px;
}

#main .container .views>div img {
    width: 300px;
    height: 125px;
    border-radius: 20px;
}

/* 小编精选，每天更新 */
#main .container .selectviews {
    width: 1182px;
    height: 58px;
    margin-top: 10px;
    background-color: #fff;
    line-height: 58px;
    padding-left: 18px;
    margin-bottom: 18px;
}

#main .container .selectviews a {
    font-size: 12px;
    color: #877a73;
    margin-left: 36px;
}

#main .container .selectviews a:hover {
    font-size: 18px;
    color: #43240c;
}

/* 回到顶部 */
#main .container .back {
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background-color: yellow;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    right: 4%;
    bottom: 10%;
    display: none;
}

#main .container .back a {
    font-size: 12px;
    color: gray;
}

/* 商品列表 */
#main .container .productlist {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex: 1;
    overflow: auto;
}

#main .container .productlist::-webkit-scrollbar {
    height: 0;
    width: 0;
    color: transparent;
}

.productlist .product {
    width: 277px;
    height: 388px;
    background-color: #ffffff;
    margin-bottom: 22px;
    cursor: pointer
}

.productlist .product img {
    width: 277px;
    height: 277px;
}

.productlist .product p {
    width: 229px;
    margin-top: 12px;
    font-size: 12px;
    color: #877a73;
    margin-bottom: 18px;
    margin-left: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.productlist .product .one {
    display: flex;
    justify-content: space-between;
    margin-bottom: 17px;
}

.productlist .product .one div:first-child {
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 13px;
    border-radius: 2px;
    background-color: #ff4400;
    color: #fff;
    margin-left: 12px;
}

.productlist .product .one span:last-child {
    font-size: 12px;
    color: #877a73;
    margin-right: 30px;
}

.productlist .product .two {
    font-size: 12px;
    color: #877a73;
    margin-left: 12px;
    display: flex;
    justify-content: space-between;
}

.productlist .product .two span:first-child {
    font-size: 15px;
    color: #fa585a;
}

.productlist .product .two a {
    width: 50px;
    height: 20px;
    font-size: 12px;
    color: #fa585a;
    border: 1px solid #fa585a;
    text-align: center;
    line-height: 20px;
    margin-right: 17px;
}

/* 查看更多 */
#main .container .moreview {
    width: 250px;
    height: 70px;
    line-height: 70px;
    font-size: 22px;
    color: #43240c;
    background-color: #fee44e;
    border-radius: 35px;
    text-align: center;
    margin-top: 50px;
}

/* 页脚 */
#footer {
    height: 240px;
    background-color: #484848;
    margin-top: 50px;
}

#footer .top {
    display: flex;
    margin-top: 37px;
    align-items: center;
}

#footer .top img {
    width: 109px;
    height: 109px;
    margin-left: 393px;
    margin-right: 19px;
}

#footer .top>div {
    width: 143px;
    height: 108px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 196px;
}

#footer .top>div p {
    line-height: 25px;
    margin-top: 7px;
}

#footer .top>div p:first-child {
    font-size: 34px;
    color: #fff;
}

#footer .top>div p:last-child {
    font-size: 18px;
    color: #fff;
}

#footer .top a {
    width: 106px;
    height: 22px;
    border-left: 3px solid #fff;
    font-size: 19px;
    color: #fff;
    line-height: 22px;
    padding-left: 15px;
}

#footer .secure_title {
    margin-top: 56px;
    text-align: center;
    font-size: 17px;
    color: #fff;
}